# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD: head/graphics/libchamplain/Makefile 360588 2014-07-04 09:40:59Z tijl $
#   $MCom: ports/graphics/libchamplain/Makefile,v 1.23 2010/09/27 18:17:23 kwm Exp $

PORTNAME=	libchamplain
PORTVERSION=	0.12.8
CATEGORIES=	graphics
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	C library provides a Gtk+ widget to display rasterized maps/markers

BUILD_DEPENDS=	vapigen:${PORTSDIR}/lang/vala-vapigen
LIB_DEPENDS=	libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 \
		libsoup-2.4.so:${PORTSDIR}/devel/libsoup

USES=		gmake libtool pathfix pkgconfig tar:xz
USE_GNOME=	gnomeprefix glib20 gtk30 introspection:build,run
USE_SQLITE=	3
USE_GL=		gl
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

PLIST_SUB=	VERSION="${PORTVERSION:R}"

CONFIGURE_ARGS=--disable-gtk-doc-html \
	--enable-introspection=yes \
	--disable-static \
	--disable-maemo \
	--disable-memphis \
	--enable-vala \
	--disable-vala-demos \
	--without-html-dir

.include <bsd.port.mk>
